﻿<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>打印预览 -<cfoutput>#event.getArg("pageTitle")#</cfoutput></title>
<link href="<cfoutput>#getProperty('cdnServer')#</cfoutput><cfoutput>#getContextRoot()#</cfoutput>/acadmicRes/assets/css/print.css" rel="stylesheet" type="text/css">
<cfif find("MSIE", CGI.HTTP_USER_AGENT)>
<style type="text/css">
@media print {
.UIprintable td { height:21px; }
}
</style>
</cfif>
<script language="javascript" type="text/javascript" src="<cfoutput>#getProperty('cdnServer')#</cfoutput><cfoutput>#getContextRoot()#</cfoutput>/acadmicRes/assets/script/jquery-1.7.2.min.js"></script>
<script language="javascript" type="text/javascript" src="<cfoutput>#getProperty('cdnServer')#</cfoutput><cfoutput>#getContextRoot()#</cfoutput>/acadmicRes/assets/widget/scriptX/meadco-scriptx.min.js"></script>
<script language="javascript" type="text/javascript">
	//<![CDATA[
	<!--
	$(window).load(function() {
		
		if ( MeadCo.ScriptX.Init() ) {
			
			MeadCo.ScriptX.Printing.header = "";
			MeadCo.ScriptX.Printing.footer = "";
                
			<cfif event.getArg("portrait", true)>
			MeadCo.ScriptX.Printing.portrait = true;
			<cfelse>
			if (MeadCo.ScriptX.HasOrientation()) {
				MeadCo.ScriptX.Printing.orientation = "landscape";
			}
			else {
				MeadCo.ScriptX.Printing.portrait = false;
			}
			</cfif>
			
			<cfswitch expression="#event.getArg('pageSetup')#">
				<cfcase value="report">
				MeadCo.ScriptX.Printing.leftMargin = 19.0;
				MeadCo.ScriptX.Printing.topMargin = 25.0;
				MeadCo.ScriptX.Printing.rightMargin = 15.0;
				MeadCo.ScriptX.Printing.bottomMargin = 15.0;
				</cfcase>
				<cfdefaultcase>
				MeadCo.ScriptX.Printing.leftMargin = 15.0;
				MeadCo.ScriptX.Printing.topMargin = 10.0;
				MeadCo.ScriptX.Printing.rightMargin = 8.0;
				MeadCo.ScriptX.Printing.bottomMargin = 5.0;
				</cfdefaultcase>
			</cfswitch>
			// Call Printer
			//MeadCo.ScriptX.PrintPage(true);
		}
				
	});
	// -->
	//]]>
</script>
</head>


<body>

<!-- MeadCo ScriptX -->
<object id="factory" style="display:none"
   classid="clsid:1663ed61-23eb-11d2-b92f-008048fdd814"
   codebase="<cfoutput>#getProperty('cdnServer')#</cfoutput><cfoutput>#getContextRoot()#</cfoutput>/acadmicRes/assets/widget/scriptX/smsx.cab">
</object>

<!-- defaultPrintContent-->
<div id="printerContent"><cfoutput>#event.getArg("pagePrint")#</cfoutput></div>
<!--/defaultPrintContent-->

</body>
</html>